package it.univaq.di.helpdesk.business.model;

import java.io.Serializable;
import java.util.Date;

public class Comment implements Serializable {
	
	private int commentID;
	private String content;
	private Date commentDate;
	private User writtenBy;
	private int ticketID;
	
	public Comment() {
		super();
	}
	public Comment(int commentID, String content, Date commentDate,
			User writtenBy, int ticketID) {
		super();
		this.commentID = commentID;
		this.content = content;
		this.commentDate = commentDate;
		this.writtenBy = writtenBy;
		this.ticketID = ticketID;
	}

	public int getCommentID() {
		return commentID;
	}
	public void setCommentID(int commentID) {
		this.commentID = commentID;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getCommentDate() {
		return commentDate;
	}
	public void setCommentDate(Date commentDate) {
		this.commentDate = commentDate;
	}
	public User getWrittenBy() {
		return writtenBy;
	}
	public void setWrittenBy(User writtenBy) {
		this.writtenBy = writtenBy;
	}
	public int getTicketID() {
		return ticketID;
	}
	public void setTicketID(int ticketID) {
		this.ticketID = ticketID;
	}
}
